package element.synt;

import element.base.Synt;
import element.base.TreeNode;
import intermediate_representation.InterRP;

import java.util.ArrayList;

//Decl → ConstDecl | VarDecl
public class Decl extends Synt {
    @Override
    public void tointerRP() {
        TreeNode decl0 = this.getNodes().get(0);
        if (decl0 instanceof Synt) {
            ((Synt) decl0).tointerRP();
        }
    }
}
